Class Prim.DistanceRecord

  • Enclosing class:
    Prim

    private class Prim.DistanceRecord
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Edge e  
      private int nodeIndex  
    • Constructor Summary

      Constructors 
      Constructor Description
      DistanceRecord​(int n, Edge ed)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      Edge getEdge()  
      int getIndex()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • nodeIndex

        private int nodeIndex
    • Constructor Detail

      • DistanceRecord

        public DistanceRecord​(int n,
                              Edge ed)
    • Method Detail

      • getIndex

        public int getIndex()
      • getEdge

        public Edge getEdge()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object